import { createSlice } from '@reduxjs/toolkit'
import dayjs from 'dayjs'
// 创建切片
export const CitySlice = createSlice({
  name: 'CitySlice',
  initialState:{
    start:'北京',
    end:'广州',
    date:dayjs().format('YYYY-MM-DD')
  },
  reducers: {
    
  },
})

// Action creators are generated for each case reducer function
export const {  } = CitySlice.actions

export default CitySlice.reducer